import BlockBox from './blockBox.vue'
import Anchor from './anchor.vue'
import AnchorLink from './anchorLink.vue'
import TableSimple from './tableSimple.vue'
const components = [
  BlockBox,
  Anchor,
  AnchorLink,
  TableSimple
]

const install = function (Vue) {
  // 遍历所有组件
  components.map(item => {
    Vue.component(item.name,item)
  })
}

export default { install }